# -*- coding: UTF-8 -*-
from flask_migrate import Migrate


from app.blues import init_blues
from app.db import db
from flask_bootstrap import Bootstrap

import os

info = "ext.py"


def init_ext(app):

    db.init_app(app)
    migrate = Migrate()
    migrate.init_app(app, db)
    app.app_context().push()
    init_blues(app)
    db.create_all()
    Bootstrap(app)

    return info


DEBUG = True
